package com.opentutor.dao;

import java.util.List;

import com.opentutor.model.Topic;

public interface TopicDao {

	public List<Topic> getAllTopics();
	
	public List<Topic> getAllTopicsOfACourse(int courseId);
	
	public List<Topic> getAllTopicsOfAChapter(int chapterId);
	
	public Topic getTopicById(int topicId);
	
	public void addTopic(Topic topic);
	
	public void updateTopic(Topic topic);
	
	public void deleteTopic(int topicId);
}
